<template>
  <el-container>
    <el-header>
      <div class="title">农产品贸易数据分析系统</div>
      <div class="right">
        <div class="index"><a href="http://218.108.76.27:6062/#/index/homeIndex"
             target="_blank">首页</a></div>
        <div class="admin"><a href="http://218.108.76.27:6063/atdas/login.html"
             target="_blank">登陆</a></div>
      </div>
    </el-header>
    <el-container>
      <el-aside width="10vw">
        <Navigation></Navigation>
      </el-aside>
      <el-main>
        <router-view />
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import Navigation from '@/components/navigation.vue'
export default {
  components: {
    Navigation
  },
  data () {
    return {

    }
  },
  methods: {

  },
  created () {

  },
}
</script>

<style scoped>
a {
  text-decoration: none !important;
  color: #fff;
}
.el-header {
  background: #487eea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.74%;
}
.title {
  font-size: 0.275rem;
  font-family: Source Han Sans CN;
  font-weight: 500;
  color: #fefefe;
}
.title .right {
}
.right .index {
  display: inline-block;
}

.right .admin {
  display: inline-block;
  padding-left: 0.125rem;
}
.el-aside {
  background: #42454c;
}
.el-main {
  background: #ebeaef;
  padding: .125rem;
}
</style>
